package com.ruoyi.channel.mapper;
import com.ruoyi.channel.domain.ChannelWithdrawalBank;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  数据层
 * 
 * @author ruoyi
 * @date 2019-05-08
 */
public interface ChannelWithdrawalBankMapper 
{
	/**
     * 查询信息
     * 
     * @param id ID
     * @return 信息
     */
	public ChannelWithdrawalBank selectChannelWithdrawalBankById(Long id);
	
	/**
     * 查询列表
     * 
     * @param channelWithdrawalBank 信息
     * @return 集合
     */
	public List<ChannelWithdrawalBank> selectChannelWithdrawalBankList(ChannelWithdrawalBank channelWithdrawalBank);
	
	/**
     * 新增
     * 
     * @param channelWithdrawalBank 信息
     * @return 结果
     */
	public int insertChannelWithdrawalBank(ChannelWithdrawalBank channelWithdrawalBank);
	
	/**
     * 修改
     * 
     * @param channelWithdrawalBank 信息
     * @return 结果
     */
	public int updateChannelWithdrawalBank(ChannelWithdrawalBank channelWithdrawalBank);
	
	/**
     * 删除
     * 
     * @param id ID
     * @return 结果
     */
	public int deleteChannelWithdrawalBankById(Long id);
	
	/**
     * 批量删除
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteChannelWithdrawalBankByIds(String[] ids);




    List<ChannelWithdrawalBank> selectChannelWithdrawalBankListByChannelId(@Param("channelId") Integer channelId);

}